/**
 * @author Nicolas CARPi <nico-git@deltablot.email>
 * @copyright 2012 Nicolas CARPi
 * @see https://www.elabftw.net Official website
 * @license AGPL-3.0
 * @package elabftw
 */

.rating-cancel,
.star-rating {
    float: left;
    width: 17px;
    height: 15px;
    text-indent: -999em;
    cursor: pointer;
    display: block;
    background: transparent;
    overflow: hidden;
}

.rating-cancel,
.rating-cancel a {
    background: url(images/delete.gif) no-repeat 0 -16px;
}

.star-rating,
.star-rating a {
    background: url(images/star.gif) no-repeat 0 0;
}

.rating-cancel a,
.star-rating a {
    display: block;
    width: 16px;
    height: 100%;
    background-position: 0 0;
    border: 0;
}

.star-rating-on a {
    background-position: 0 -16px !important;
}

.star-rating-hover a {
    background-position: 0 -32px;
}

/* Read Only CSS */
.star-rating-readonly a {
    cursor: default !important;
}

/* Partial Star CSS */
.star-rating {
    background: transparent !important;
    overflow: hidden !important;
}
